package com.yami.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.model.SpuSeriesRelation;

public interface SpuSeriesRelationService extends IService<SpuSeriesRelation> {

    /**
     *
     * 根据商品id 查询是否绑定系列
     * @param productId
     * @return
     */

    SpuSeriesRelation getInfoByproductId(Integer productId);

    /**
     * 根据商品id 删除商品绑定系列
     * @param productId
     */
    void deleByproductId(Integer productId);
}
